package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdQualityAnalysisReport;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 质量综合分析报告 信息数据库操作类
 *
 * @author mi
 * @date 2020-06-22 14:16:42
 */
@Mapper
public interface WQbdQualityAnalysisReportDao extends
		IBaseMapper<WQbdQualityAnalysisReport, String> {

	List<WQbdQualityAnalysisReport> queryAll(QueryFilter queryFilter);


	/**
	 * 流程审批页面查询通过的数据
	 * @param dataId
	 * @return
	 */
	List<WQbdQualityAnalysisReport> reportList(@Param("dataId") String dataId, @Param("tableName") String tableName);

    WQbdQualityAnalysisReport getParentAndChilden(String id);

    WQbdQualityAnalysisReport getByXfdataId(WQbdQualityAnalysisReport report);

    int delByXfdataId(String xfdataId);
}
